package com.example.demo.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.util.List;

public class Cart {

  private Long cartid;
  private Long goodsid;
  private Long userid;
  private Long quantity;
  private Double price;

  private Long issubmit;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private java.util.Date createDate;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private java.util.Date updateDate;

  private List<Goods> goodsList;

  public List<Goods> getGoodsList() {
    return goodsList;
  }

  public void setGoodsList(List<Goods> goodsList) {
    this.goodsList = goodsList;
  }

  public Long getCartid() {
    return cartid;
  }

  public void setCartid(Long cartid) {
    this.cartid = cartid;
  }


  public Long getGoodsid() {
    return goodsid;
  }

  public void setGoodsid(Long goodsid) {
    this.goodsid = goodsid;
  }


  public Long getUserid() {
    return userid;
  }

  public void setUserid(Long userid) {
    this.userid = userid;
  }


  public Long getQuantity() {
    return quantity;
  }

  public void setQuantity(Long quantity) {
    this.quantity = quantity;
  }


  public Double getPrice() {
    return price;
  }

  public void setPrice(Double price) {
    this.price = price;
  }


  public Long getIssubmit() {
    return issubmit;
  }

  public void setIssubmit(Long issubmit) {
    this.issubmit = issubmit;
  }


  public java.util.Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(java.util.Date createDate) {
    this.createDate = createDate;
  }


  public java.util.Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(java.util.Date updateDate) {
    this.updateDate = updateDate;
  }

}
